/**
 * Created by XK-SH on 2017/6/19.
 */
import Vue from 'vue'
import VueResource from 'vue-resource';
Vue.use(VueResource);

export default {
  /**
   * 套餐变更分页查询
   */
  queryMemberCheckOutResultDTOList(pageSize,pageNum,queryData) {
    return Vue.http.post("/memberActivity/m/progress/" + pageSize + "/" + pageNum,queryData);
  },
  /**
   * 获取套餐变更的“任务ID-任务名称”
   */
  getMemberComboChangeTaskKeyList(){
    return Vue.http.post("/memberComboChange/m/getMemberComboChangeTaskKeyList");
  },
  /**
   * 中止流程
   */
  abortProcess(){
    return Vue.http.post("/memberComboChange/m/abortProcess");
  },
  /**
   * 根据类型及会员id查询评估结果
   */
  getLastedAssessment(sheetType,memberId){
    return Vue.http.get("/assessSet/m/v1/getMemberAssessmentResult/"+sheetType+'/'+memberId);
  },
  /**
   * 提交修改服务计划
   */
  changePlan(val){
    return Vue.http.post("/memberComboChange/m/comboChangingFor",val);
  },
  /**
   * 提交修改服务计划
   */
  confirmPackage(actId){
    return Vue.http.post("/memberComboChange/m/getComboChangeInfo/"+actId);
  },

}
